//
//  StartExamViewController.h
//  Drivers
//
//  Created by Hunk on 10-11-1.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface StartExamViewController : UIViewController <UIAlertViewDelegate>
{	
    IBOutlet UIImageView *_bgImageView;
    
	// Question
	UILabel* m_pQuestionLabel;
	
	// Answer button
	IBOutlet UIButton* m_pAButton;
	IBOutlet UIButton* m_pBButton;
	IBOutlet UIButton* m_pCButton;
	IBOutlet UIButton* m_pDButton;
	
	// Prev question button
	IBOutlet UIButton* m_pPrevButon;
	// Next question button
	IBOutlet UIButton* m_pNextButon;
	
	// Strengthening memory
	IBOutlet UIButton* m_pStrengtheningMemoryButton;
	
	// Standard answer array
	NSMutableArray* m_arrayOfStandardAnswer;
	
	// Testing answer array
	NSMutableArray* m_arrayOfTestingAnswer;
	
	
	// Dictionary of root
	NSDictionary* m_dicOfRoot;
	
	// Multiple choice array
	NSArray* m_arrayOfMultipleChoice;
	
	// Judgement array
	NSArray* m_arrayOfJudgement;
	
	// 100 Questions
	NSMutableArray* m_arrayOfExamination;
	
	// Current question number
	int m_nCurQuestionNumber;
	
	// StrengtheningMemory array
	NSMutableArray* m_arrayOfStrengtheningMemory;
	
	// Wrong question array
	NSMutableArray* m_arrayOfWrongQuestion;
	
	// Image view
	UIImageView* m_pImageView;
	
	// Prev choose
	IBOutlet UILabel* m_pPrevChoose;
}

@property (nonatomic, retain) UIButton* m_pAButton;
@property (nonatomic, retain) UIButton* m_pBButton;
@property (nonatomic, retain) UIButton* m_pCButton;
@property (nonatomic, retain) UIButton* m_pDButton;
@property (nonatomic, retain) UIButton* m_pPrevButon;
@property (nonatomic, retain) UIButton* m_pNextButon;
@property (nonatomic, retain) UIButton* m_pResultButton;
@property (nonatomic, retain) UIButton* m_pStrengtheningMemoryButton;
@property (nonatomic, retain) UIImageView* m_pImageView;
@property (nonatomic, retain) UILabel* m_pPrevChoose;

- (IBAction)prevPage:(id)sender;

- (IBAction)nextPage:(id)sender;

- (IBAction)answerAButton:(id)sender;
- (IBAction)answerBButton:(id)sender;
- (IBAction)answerCButton:(id)sender;
- (IBAction)answerDButton:(id)sender;

- (IBAction)strengtheningMemory:(id)sender;


@end
